#!/bin/sh
cd /simple-rtmp-server/trunk
./objs/srs -c conf/all.conf &
chmod 777 /simple-rtmp-server/trunk/objs/nginx/html -R
sudo /simple-rtmp-server/trunk/objs/nginx/sbin/nginx
if [ -e /runAndInit.sh ];then /runAndInit.sh;fi
tail -f /dev/null
